package cmddata

var PingCmd = &ClientCmd{Action: "ping"}
var PongFrame = &ClientAnswer{Group: "pong", Message: "success"}
var PongMessage = []byte("{\"group\":\"pong\"}")

var SysErrFame = &ClientAnswer{Code: 1, Group: "system", Message: "is busy"}
var CmdErrFrame = &ClientAnswer{Code: 1, Group: "system", Message: "cmd not support"}
var NotSupportFrame = &ClientAnswer{Code: 1, Group: "system", Message: "not support"}
var NotAuthFrame = &ClientAnswer{Code: 2, Group: "system", Message: "not auth"}
var AuthFailFrame = &ClientAnswer{Code: 2, Group: "system", Message: "auth fail"}
var SaveNotChooseFrame = &ClientAnswer{Code: 2, Group: "system", Message: "please choose save"}
var SaveInvalidFrame = &ClientAnswer{Code: 2, Group: "system", Message: "please choose right save"}
var AuthRepeatFrame = &ClientAnswer{Code: 2, Group: "system", Message: "auth repeat"}
